package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
	"strings"
)

func main() {
	scanner := bufio.NewScanner(os.Stdin)

	var a, b int
	var text []string
	for scanner.Scan() {
		text = strings.Split(scanner.Text(), " ")
		a, _ = strconv.Atoi(text[0])
		b, _ = strconv.Atoi(text[1])
		fmt.Println(a + b)
	}
}
